<?php
$to = array(
	'?Java_com_ir_1rc_shared_etc_Windows_nativeIsAlreadyRunning@@YGEPAUJNIEnv_@@PAV_jclass@@@Z',
	'?Java_com_ir_1rc_shared_gui_sysTray_TrayIcon_nativeSetHint@@YGXPAUJNIEnv_@@PAV_jobject@@PAV_jbyteArray@@@Z',
	'?Java_com_ir_1rc_shared_gui_sysTray_TrayIcon_nativeSetIcon@@YGXPAUJNIEnv_@@PAV_jobject@@J@Z',
	'_Java_com_ir_1rc_shared_etc_Windows_checkApplicationSynonim@12',
	'_Java_com_ir_1rc_shared_etc_Windows_enumCommPorts@8',
	'_Java_com_ir_1rc_shared_etc_Windows_getCurrentProcessId@8',
	'_Java_com_ir_1rc_shared_etc_Windows_getCurrentlyPressedKey@8',
	'_Java_com_ir_1rc_shared_etc_Windows_getKeyName@12',
	'_Java_com_ir_1rc_shared_etc_Windows_getRegistryKeyForExtension@12',
	'_Java_com_ir_1rc_shared_etc_Windows_getScreenWidth@8',
	'_Java_com_ir_1rc_shared_etc_Windows_moveCursor@24',
	'_Java_com_ir_1rc_shared_etc_Windows_nativeActivateApp@24',
	'_Java_com_ir_1rc_shared_etc_Windows_nativeCheckStartUp@20',
	'_Java_com_ir_1rc_shared_etc_Windows_nativeCloseProcessHandle@12',
	'_Java_com_ir_1rc_shared_etc_Windows_nativeEnumProcesses@8',
	'_Java_com_ir_1rc_shared_etc_Windows_nativeGetChildWindowClass@12',
	'_Java_com_ir_1rc_shared_etc_Windows_nativeGetDriveType@12',
	'_Java_com_ir_1rc_shared_etc_Windows_nativeGetMouseLocation@8',
//	'_Java_com_ir_1rc_shared_etc_Windows_nativeGetWin32ProcessHandle@24',
//	'_Java_com_ir_1rc_shared_etc_Windows_nativeGetWindowFilePath@12',
	'_Java_com_ir_1rc_shared_etc_Windows_nativeIsWindowFullscreen@12',
	'_Java_com_ir_1rc_shared_etc_Windows_nativeIshProcessValid@12',
	'_Java_com_ir_1rc_shared_etc_Windows_nativeKeybdEvent@32',
	'_Java_com_ir_1rc_shared_etc_Windows_nativeLaunchApp@24',
	'_Java_com_ir_1rc_shared_etc_Windows_nativeMouse_1dragged@12',
	'_Java_com_ir_1rc_shared_etc_Windows_nativeMouse_1up@8',
	'_Java_com_ir_1rc_shared_etc_Windows_nativePerformAction@12',
	'_Java_com_ir_1rc_shared_etc_Windows_nativeRestoreGlobalCursor@8',
	'_Java_com_ir_1rc_shared_etc_Windows_nativeSendSystemMessage@48',
	'_Java_com_ir_1rc_shared_etc_Windows_nativeSetGlobalCursorToBig@8',
	'_Java_com_ir_1rc_shared_etc_Windows_nativeShutDownProcess@12',
	'_Java_com_ir_1rc_shared_etc_Windows_nativeTerminateApp@12',
	'_Java_com_ir_1rc_shared_etc_Windows_nativeVolumeCommand@12',
	'_Java_com_ir_1rc_shared_etc_Windows_pressKey@12',
	'_Java_com_ir_1rc_shared_etc_Windows_pressMouseKey@12',
	'_Java_com_ir_1rc_shared_etc_Windows_releaseKey@12',
	'_Java_com_ir_1rc_shared_etc_Windows_releaseMouseKey@12',
//	'_Java_com_ir_1rc_shared_etc_Windows_resetActivationMonitor@8',
//	'_Java_com_ir_1rc_shared_etc_Windows_startActivationMonitor@12',
	'_Java_com_ir_1rc_shared_etc_Windows_startWatching@12',
//	'_Java_com_ir_1rc_shared_etc_Windows_stopActivationMonitor@8',
	'_Java_com_ir_1rc_shared_etc_Windows_stopWatching@8',
	'_Java_com_ir_1rc_shared_gui_signalWindow_SignalWindow_nativeHide@8',
	'_Java_com_ir_1rc_shared_gui_signalWindow_SignalWindow_nativeShow@12',
	'_Java_com_ir_1rc_shared_gui_sysTray_TrayIcon_nativeAddMenuItem@16',
	'_Java_com_ir_1rc_shared_gui_sysTray_TrayIcon_nativeCheckAlreadyRunning@8',
	'_Java_com_ir_1rc_shared_gui_sysTray_TrayIcon_nativeDestroy@8',
	'_Java_com_ir_1rc_shared_gui_sysTray_TrayIcon_nativeInit@8',
	'_Java_com_ir_1rc_shared_gui_sysTray_TrayIcon_nativeLoadImage@12',
	'_Java_com_ir_1rc_shared_gui_sysTray_TrayIcon_nativeShow@16',
);
$from = array();
foreach ($to as $s) {
	$from[] = str_replace(array('@','?'), array('_', '_'), $s);
}

file_put_contents(
	'windows.dll',
	str_replace(
		$from,
		$to,
		file_get_contents('windows.dll')
	)
);